package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.pojo.TbNode;
import com.heima.pojo.vo.NodeVo;
import com.heima.pojo.vo.VendingMachineVo;

import java.util.List;

/**
 * <p>
 * 点位表 Mapper 接口
 * </p>
 *
 * @author nan
 * @since 2024-06-09
 */
public interface TbNodeMapper extends BaseMapper<TbNode> {

    Page<NodeVo> getByPage(Page<TbNode> page, String regionId,String name);

    List<VendingMachineVo> getByNodeId(String nodeId);

}
